package service

import (
	"github.com/go-kratos/kratos/v2/log"
	"kratos-realword/internal/dao"
)

type ProfileService struct {
	profileDao dao.ProfileDao
	log        *log.Helper
}

func NewProfileService(profileDao dao.ProfileDao, logger log.Logger) *ProfileService {
	return &ProfileService{profileDao: profileDao, log: log.NewHelper(logger)}
}
